﻿namespace Microsoft.VisualStudio.IDE.ToolboxControlsInstaller
{
    using System;
    using System.Collections;
    using System.Windows;

    public class SilverlightControl : DictionaryControl
    {
        public static readonly int _silverlightFormat = DataFormats.GetDataFormat("CF_WINFXSILVERLIGHT_TOOL").Id;
        private const string _silverlightFormatString = "CF_WINFXSILVERLIGHT_TOOL";

        public SilverlightControl(string typeName, IDictionary properties) : base(typeName, properties)
        {
        }

        public override int DictionaryFormat
        {
            get
            {
                return _silverlightFormat;
            }
        }

        public override string RegDescriptorValue
        {
            get
            {
                return StaticRegDescriptorValue;
            }
        }

        public static string StaticRegDescriptorValue
        {
            get
            {
                return "SilverlightControl";
            }
        }
    }
}

